package com.xytc.company.company_backend.adminEndPoint.entity.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


@Data
@TableName("xy_food_repository")
public class FoodRepositoryDao {

    /**
     * 店铺id，UUID去除中间的 - 后剩余的字符串，长度为32个字符
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("food_name")
    private String foodName;

    @TableField("store_id")
    private String storeId;

    @TableField("store_price")
    private Integer storePrice;

    /**
     * 店铺状态
     *
     * 1 上架中
     * 2 已下架
     */
    @TableField("food_status")
    private Integer foodStatus;

    /**
     * 菜品图片，支持多张图片，json字符串数组
     */
    @TableField("images")
    private String images;

    @TableField("description")
    private String description;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
}
